Slack Scope
AutomatR.Slack.Activities.SlackScope
The "Slack Scope" activity in AutomatR establishes a connection between AutomatR and your Slack app using Token Authentication. This connection authorizes a robot to call the Slack APIs and access resources on your behalf. The activity requires an API Access token for authentication.
Properties
Name | Description |
---|---|
Input | |
API Token | The API Access token used for authentication. This token is required to establish a connection with the Slack app. String variables containing the API Access token. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variable or argument containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Slack Scope" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Slack Scope" activity onto the workflow.
- Configure the properties by specifying the API Access token for authentication.
- Optionally, configure the delay.
- Inside the "Slack Scope" activity, you can include other Slack-related activities to perform actions on Slack using the established connection.
Example: Consider an example where the "Slack Scope" activity is used to establish a connection with Slack:
Slack Scope:
Delay: 2
API Token: "your-api-token"
In this example, the activity establishes a connection with Slack using the provided API Access token with a 2-second delay. The connection details are stored in context properties for further use in the workflow.
The "Slack Scope" activity doesn't produce direct output properties. Instead, it establishes a connection to Slack, and the connection details are stored in the context properties for further use in the workflow.